﻿using System;
using System.Windows.Forms;
using System.Collections.Generic;
using System.Text;

namespace ConceptCorporateAdmin.Gui.Widgets
{
    public class EntitateTreeNode:TreeNode
    {
        private string nodeAnchorName;
        private DateTime dataModificarii;
        private bool modificataInTimp; 

        public EntitateTreeNode(String text, String nodeAnchorName)
            : base(text)
        {
            NodeAnchorName  = nodeAnchorName;
           
        }

        public EntitateTreeNode(String text, String nodeAnchorName, DateTime dataModificarii, bool modificataInTimp)
            : base(text)
        {
            NodeAnchorName = nodeAnchorName;
            DataModificarii = dataModificarii;
            ModificataInTimp = modificataInTimp;
        }

        public EntitateTreeNode(String text, String nodeAnchorName, DateTime dataModificarii)
            : base(text)
        {
            NodeAnchorName = nodeAnchorName;
            DataModificarii = dataModificarii;
        }

        public string NodeAnchorName
        {
            get
            {
                return nodeAnchorName;
            }
            set
            {
                nodeAnchorName = value;
            }
        }

        

        public DateTime DataModificarii
        {
            set
            {
                dataModificarii = value;
            }

            get
            {
                return dataModificarii;
            }

         }

        public bool ModificataInTimp
        {

            set
            {
                modificataInTimp = value;
            }

            get
            {
                return modificataInTimp;
            }
        }
    }
}
